import com.gitee.chessboard.scan.ScanManager;
import com.gitee.chessboard.scan.discern.AnnotationDiscernPortion;
import com.gitee.chessboard.scan.discern.DiscernHandler;

import java.lang.annotation.Target;
import java.util.Set;


public class DiscernTest {
    public static void main(String[] args) {
        ScanManager scanManager = new ScanManager();
        DiscernHandler discernHandler = scanManager.getDiscernHandler();
        AnnotationDiscernPortion annotationDiscernPortion = new AnnotationDiscernPortion();
        annotationDiscernPortion.targetDescribe(Target.class);
        discernHandler.addDiscern(annotationDiscernPortion);
        scanManager.discern("com.gitee");
        Set<Class<?>> discernResults = annotationDiscernPortion.getDiscernResults();
        System.out.println(discernResults);
    }
}
